<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="com.lmpop.trade.ts_custclass.*" %>
<%@page import="java.util.*" %>
<html>
  <head>
    
    <title>ts_custclass Manager</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
</head>

<body>

  <% 
  	String cust_class="";
  	if(request.getParameter("cust_class")!=null) cust_class = request.getParameter("cust_class");
  	Ts_custclassInfo ts_custclassInfo = new Ts_custclassInfo();
  	List list = ts_custclassInfo.getListByPk(cust_class);
  	Hashtable map = new Hashtable();
  	if(list!=null && list.size()>0) map = (Hashtable)list.get(0);
  	
  	String cust_class_name="",class_type="",cust_oper_person="",cust_oper_date="",remark="";
  	if(map.get("cust_class_name")!=null) cust_class_name = map.get("cust_class_name").toString();
  	if(map.get("class_type")!=null) class_type = map.get("class_type").toString();
  	if(map.get("cust_oper_person")!=null) cust_oper_person = map.get("cust_oper_person").toString();
  	if(map.get("cust_oper_date")!=null) cust_oper_date = map.get("cust_oper_date").toString();
  	if(map.get("remark")!=null) remark = map.get("remark").toString();

  %>
	
	<h1>Update ts_custclass</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		
		<tr>
			<td align="right" width="10%">
				cust_class_name:
			</td>
			<td><input name="cust_class_name" id="cust_class_name" value="<%=cust_class_name %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				class_type:
			</td>
			<td><input name="class_type" id="class_type" value="<%=class_type %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				cust_oper_person:
			</td>
			<td><input name="cust_oper_person" id="cust_oper_person" value="<%=cust_oper_person %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				cust_oper_date:
			</td>
			<td><input name="cust_oper_date" id="cust_oper_date" value="<%=cust_oper_date %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				remark:
			</td>
			<td><input name="remark" id="remark" value="<%=remark %>" type="text" /></td>
		</tr>
		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="1300" />
	  			<input type="hidden" name="cust_class" value="<%=cust_class %>" />
				<input type="submit" class="buttoncss" name="tradeSub" value="提交" />&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="返回" onClick="window.location.href='index.jsp';"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
